<?php
$ttl = 0;
if(apc_fetch('topcacheTTL')) $ttl=1;

if($ttl)
{
	$topmenu = apc_fetch('topMenu');
	$homebanner = apc_fetch('homebanner');
}
else
{
	$topmenu = $this->getChildHtml('topMenu');
	$homebanner = $this->getChildHtml('homebanner');

	apc_add('topmenu', $topmenu);
	apc_add('homebanner', $homebanner);
	apc_add('topcacheTTL',1,3600);
}
echo $topmenu;
echo $homebanner;

?>